package chapter8;

public class Message {

    public Message(){


    }

    public void  showMsg(){
        for (int i=0;i<5;i++){
            System.out.println("hello word");
        }
    }

    public void showMsg2(String msg,int num){

        for (int i=0;i<num;i++){
            System.out.println(msg);
        }

    }


}
